package cn.darkfire.web.Service;

import cn.darkfire.web.POJO.LoginUser;
import cn.darkfire.web.POJO.Status;

import java.util.List;

//创建属于用户的操作方法,将用于控制层
public interface UserService {
    public Status login(LoginUser user);
    public Status register(LoginUser user);
    public Status changePassword(LoginUser user);
    public Status removeUser(String username);
    public List<LoginUser> getAllUser();
    public List<LoginUser> searchUserByName(String user);
    public LoginUser searchUserByNameTrue(String username);
    public boolean isReg(String username);
    public Status sendEmail(String username,String email);
}
